﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageGuide.aspx.cs" Inherits="GreatB2C.Web.Manage.SystemSet.Contents.ManageGuide" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>内容模型管理</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css"
        rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/jquery-1.4.2.min.js"></script>

    <script type="text/javascript">
        function JumpToMainRight(url) { parent.frames["main_right"].location = url; }
        function JumpToMainLeft(url) { parent.frames["left"].location = url; }
        function ReloadMainRight() { parent.frames["main_right"].location.reload(); }
        function Switch(obj) {
            obj.className = (obj.className == "guideexpand") ? "guidecollapse" : "guideexpand";
            var nextDiv;
            if (obj.nextSibling) {
                if (obj.nextSibling.nodeName == "DIV") {
                    nextDiv = obj.nextSibling;
                }
                else {
                    if (obj.nextSibling.nextSibling) {
                        if (obj.nextSibling.nextSibling.nodeName == "DIV") {
                            nextDiv = obj.nextSibling.nextSibling;
                        }
                    }
                }
                if (nextDiv) {
                    nextDiv.style.display = (nextDiv.style.display != "") ? "" : "none";
                }
            }
        }


    </script>

    <style type="text/css">
        .skin1
        {
            cursor: default;
            font: menutext;
            position: absolute;
            text-align: left;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 10pt;
            width: 120px;
            background-color: #cccccc;
            border: 1 solid buttonface;
            visibility: hidden;
            border: 2 outset buttonhighlight;
        }
        .menuitems
        {
            padding-left: 15px;
            padding-right: 10px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Guide_back">
        <ul>
            <li id="Guide_top">
                <div id="Guide_toptext">
                    内容模型管理
                </div>
            </li>
            <li id="Guide_main">
                <div id="Guide_box">
                    <div class="guideexpand" onclick="Switch(this)">
                        内容模型管理</div>
                    <div class="guide">
                        <ul>
                            <li><a id="EahModelAdd" href="Model.aspx?Action=Add" runat="server" target="main_right">
                                添加内容模型</a></li>
                            <li><a id="EahModelManage" href="ModelManage.aspx" runat="server" target="main_right">
                                内容模型管理</a></li>
                            <li><a id="EahModelTemplateManage" href="ModelTemplateManage.aspx?ModelType=1" runat="server"
                                target="main_right">内容模型模板管理</a></li>
                            <li><a id="EahModelTemplateImport" href="ModelTemplateImport.aspx?ModelType=1" runat="server"
                                target="main_right">内容模型模板导入</a></li>
                            <li><a id="EahModelTemplateExport" href="ModelTemplateExport.aspx?ModelType=1" runat="server"
                                target="main_right">内容模型模板导出</a></li>
                        </ul>
                    </div>
                    <div class="guideexpand" onclick="Switch(this)">
                        各模型的字段管理</div>
                    <div class="guide">
                        <asp:Repeater ID="rptModelList" runat="server">
                            <HeaderTemplate>
                                <ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <li><a href='<%# "FieldManage.aspx?ModelID=" + Eval("ModelId").ToString() + "&ModelName=" + Server.UrlEncode(Eval("ModelName").ToString()) + "&ModelType=1" %>'
                                    target="main_right" id="link" runat="server">
                                    <%# Eval("ModelName") %>
                                </a></li>
                            </ItemTemplate>
                            <FooterTemplate>
                                </ul>
                            </FooterTemplate>
                        </asp:Repeater>
                    </div>
                </div>
            </li>
            <li id="Guide_bottom"></li>
        </ul>
    </div>
    </form>
</body>
</html>
